"""
读取json文件
[(),(),(),()]
"""
import json
def build_data():
    try:
        with open(r'D:\chicaixiang\interface-auto\PyTest\data\01_data.json','r',encoding='utf-8') as f:
            # print(f.readlines())
            data_list= json.load(f)
            print(type(data_list))
            temp_list=[]
            for data in data_list:
                temp_tuple=tuple(data.values())
                temp_list.append(temp_tuple)
            return temp_list

    except Exception as e:
        print("文件不存在",e)
    finally:
        print("程序结束")


if __name__=="__main__":
    print(build_data())